package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 金蝶-基础数据-币别-推金蝶对象 erp_king_base_currency_info
 *
 * @author wutao
 * @date 2024-06-19
 */
@TableName ( "erp_king_base_currency_info" )
@ApiModel ( value = "erp_king_base_currency_info对象", description = "金蝶-基础数据-币别-推金蝶" )
@Data
public class KingBaseCurrencyEntity extends BaseVo {

    private static final Long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId ( value = "id", type = IdType.INPUT )
    private String id;

    /**
     * 币别编码
     */
    @ApiModelProperty ( "币别编码" )
    @TableField ( "code" )
    @Excel ( name = "币别编码" )
    private String code;

    /**
     * 币别名称
     */
    @ApiModelProperty ( "币别名称" )
    @TableField ( "currency_name" )
    @Excel ( name = "币别名称" )
    private String currencyName;

    /**
     * 货币代码
     */
    @ApiModelProperty ( "货币代码" )
    @TableField ( "currency_symbol" )
    @Excel ( name = "货币代码" )
    private String currencySymbol;

    @ApiModelProperty ( "货币符号" )
    @TableField ( "symbol_info" )
    @Excel ( name = "货币代码" )
    private String symbolInfo;

    /**
     * 单据显示货币符号;1:是;2:否
     */
    @ApiModelProperty ( "单据显示货币符号;1:是;2:否" )
    @TableField ( "show_flag" )
    @Excel ( name = "单据显示货币符号;1:是;2:否" )
    private Integer showFlag;

    /**
     * 单价精度
     */
    @ApiModelProperty ( "单价精度" )
    @TableField ( "price_accuracy" )
    @Excel ( name = "单价精度" )
    private Integer priceAccuracy;

    /**
     * 金额精度
     */
    @ApiModelProperty ( "金额精度" )
    @TableField ( "amount_accuracy" )
    @Excel ( name = "金额精度" )
    private Integer amountAccuracy;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "数据状态；1：创建；2：审核中；3：已审核" )
    @TableField ( "data_status" )
    @Excel ( name = "数据状态" )
    private Integer dataStatus;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "舍入类型；1：四舍五入；4：四舍六入五双" )
    @TableField ( "round_type" )
    @Excel ( name = "舍入类型" )
    private Integer roundType;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否禁用；1：正常；2：禁用" )
    @TableField ( "is_disabled" )
    @Excel ( name = "是否禁用" )
    private Integer isDisabled;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否发送；1：是；2：否" )
    @TableField ( "is_send" )
    @Excel ( name = "是否禁用" )
    private Integer isSend;

    @ApiModelProperty ( "创建人" )
    @TableField ( "create_by" )
    @Excel ( name = "创建人" )
    private String createBy;

    @ApiModelProperty ( "创建时间" )
    @TableField ( "create_time" )
    @Excel ( name = "创建时间" )
    private Date createTime;

    @ApiModelProperty ( "更新人" )
    @TableField ( "update_by" )
    @Excel ( name = "更新人" )
    private String updateBy;

    @ApiModelProperty ( "更新时间" )
    @TableField ( "update_time" )
    @Excel ( name = "更新时间" )
    private Date updateTime;

    @ApiModelProperty ("是否可用")
    @TableField ("is_del")
    @Excel (name = "是否可用")
    private Integer isDel;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否可用" )
    @TableField ( "is_used" )
    @Excel ( name = "是否可用" )
    private Integer isUsed;

    @ApiModelProperty("汇率值")
    @TableField ( exist = false )
    private String rate = "1";

}
